<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<head>
</head>
<div id="menuBar">
	<a href="home.action"><span class="menuItem" onmouseover="this.className='selectedMenu'" onmouseout="this.className='menuItem'">首页</span></a>
	<a href="intern/joinInternProgram_Intro.jsp"><span class="menuItem" onmouseover="this.className='selectedMenu'" onmouseout="this.className='menuItem'">实习生</span></a>
	<a href="#"><span class="menuItem" onmouseover="this.className='selectedMenu'" onmouseout="this.className='menuItem'"></span></a>
	<a href="#"><span class="menuItem" onmouseover="this.className='selectedMenu'" onmouseout="this.className='menuItem'"></span></a>
	<a href="#"><span class="menuItem" onmouseover="this.className='selectedMenu'" onmouseout="this.className='menuItem'"></span></a>
	<s:if test="#session.user.role==2||#session.user.role==4">
		<a href="manage/toManageHome.action"><span class="menuItem" onmouseover="this.className='selectedMenu'" onmouseout="this.className='menuItem'"><s:text name="index_item7" /></span></a>
	</s:if>
	<s:if test="#session.user == null">
		<span class="menuLogin"><a href="login.jsp">登录</a></span>
		<!--<span class="menuLogin"><a href="toRegister.action">注册</a></span>-->
		<span class="menuLogin">游客</span></s:if>
	<s:else>
		<span class="menuLogin"><a href="user/logout.action">退出</a></span>
		<span class="menuLogin" style="width:200px;text-align:right;"><s:property value="#session.user.userid"/></span>	
	</s:else>
</div>
